﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using NetCoreCMS.IServices;

namespace NetCoreCMS.Web.Areas.WebApi.Controllers
{
    public class Get_PaymentController : BaseController
    {
        public IPaymentService _payment { get; set; }
        [HttpGet]
        public IActionResult Get()
        {
            var list=_payment.GetList("where is_lock=0");
            return Ok(new { status = 1, list = list });
        }
    }
}